import { Flex, Container } from "@radix-ui/themes"
import HomeMenu from "./HomeMenu"
import { authQuery } from "@/hooks/useAuth"



const HomeLayout = async ({ children }: React.PropsWithChildren) => {
    const data = await authQuery();

    return (
        <Container>
            <Flex gap='3'>
                <HomeMenu />
                <div className="grow">
                    {children}
                </div>
            </Flex>
        </Container>
    )
}
export default HomeLayout